package com.ziyun.pop.modules.supp.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author guizhao
 * @ProjectName ziyun-service-pop
 * @Description: 商户日销量
 * @date 2018-12-24 18:11
 */
@Getter
@Setter
@ApiModel("近七日销售数据")
public class SalesVo {

    /**
     * 日期
     */
    @ApiModelProperty(value = "日期")
    @JsonFormat(pattern = "MM-dd", timezone = "GMT+8")
    private Date date;

    /**
     * 销量
     */
    @ApiModelProperty(value = "销量")
    private  BigDecimal sales;

    /**
     * 订单数量
     */
    @ApiModelProperty(value = "订单数量")
    private int orderNum;

    /**
     * 注册客户数量
     */
    @ApiModelProperty(value = "注册客户数量")
    private int customerNum;
}
